package com.yidu.t286.domain;
/*
 * @description: 发动机表实体类
 * @author:文杰
 * @date  :2021/7/27 0027下午 2:51
 */

import java.io.Serializable;

public class Motor implements Serializable {
    //发动机型号
    private String motorId;
    //进气形式
    private String Intakeform;
    //排量
    private double displacement;
    //气缸排列形式
    private String cylinde;
    //气缸数
    private int cylinders;
    //每缸气门数
    private int valves;
    //配气机构
    private String valvetrain;
    //最大码力
    private int horsepower;
    //最大功率
    private int powers;
    //最大功率转速
    private String speed;
    //最大扭矩
    private int torque;
    //最大扭矩转速
    private String maximumSpeed;
    //燃油标号
    private String fuelgrade;
    //供油方式
    private String oilMode;
    //车系编号
    private int carseriesId;

    /**
     * 默认构造方法
     */
    public Motor() {
    }

    /**
     * 带参构造方法
     * @param motorId
     * @param intakeform
     * @param displacement
     * @param cylinde
     * @param cylinders
     * @param valves
     * @param valvetrain
     * @param horsepower
     * @param powers
     * @param speed
     * @param torque
     * @param maximumSpeed
     * @param fuelgrade
     * @param oilMode
     * @param carseriesId
     */
    public Motor(String motorId, String intakeform, double displacement, String cylinde, int cylinders, int valves, String valvetrain, int horsepower, int powers, String speed, int torque, String maximumSpeed, String fuelgrade, String oilMode, int carseriesId) {
        this.motorId = motorId;
        Intakeform = intakeform;
        this.displacement = displacement;
        this.cylinde = cylinde;
        this.cylinders = cylinders;
        this.valves = valves;
        this.valvetrain = valvetrain;
        this.horsepower = horsepower;
        this.powers = powers;
        this.speed = speed;
        this.torque = torque;
        this.maximumSpeed = maximumSpeed;
        this.fuelgrade = fuelgrade;
        this.oilMode = oilMode;
        this.carseriesId = carseriesId;
    }

    //自动生成的setter和getters方法
    public String getMotorId() {
        return motorId;
    }

    public void setMotorId(String motorId) {
        this.motorId = motorId;
    }

    public String getIntakeform() {
        return Intakeform;
    }

    public void setIntakeform(String intakeform) {
        Intakeform = intakeform;
    }

    public double getDisplacement() {
        return displacement;
    }

    public void setDisplacement(double displacement) {
        this.displacement = displacement;
    }

    public String getCylinde() {
        return cylinde;
    }

    public void setCylinde(String cylinde) {
        this.cylinde = cylinde;
    }

    public int getCylinders() {
        return cylinders;
    }

    public void setCylinders(int cylinders) {
        this.cylinders = cylinders;
    }

    public int getValves() {
        return valves;
    }

    public void setValves(int valves) {
        this.valves = valves;
    }

    public String getValvetrain() {
        return valvetrain;
    }

    public void setValvetrain(String valvetrain) {
        this.valvetrain = valvetrain;
    }

    public int getHorsepower() {
        return horsepower;
    }

    public void setHorsepower(int horsepower) {
        this.horsepower = horsepower;
    }

    public int getPowers() {
        return powers;
    }

    public void setPowers(int powers) {
        this.powers = powers;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public int getTorque() {
        return torque;
    }

    public void setTorque(int torque) {
        this.torque = torque;
    }

    public String getMaximumSpeed() {
        return maximumSpeed;
    }

    public void setMaximumSpeed(String maximumSpeed) {
        this.maximumSpeed = maximumSpeed;
    }

    public String getFuelgrade() {
        return fuelgrade;
    }

    public void setFuelgrade(String fuelgrade) {
        this.fuelgrade = fuelgrade;
    }

    public String getOilMode() {
        return oilMode;
    }

    public void setOilMode(String oilMode) {
        this.oilMode = oilMode;
    }

    public int getCarseriesId() {
        return carseriesId;
    }

    public void setCarseriesId(int carseriesId) {
        this.carseriesId = carseriesId;
    }
}
